<?php
$baseURL =  'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER["SCRIPT_NAME"]);
define('SITE_BASE_URL', $baseURL);
//JPER CMS 用户信息在redis中的存活时间
define("HOST_CMS_REDIS_USERINFO_TIMEOUT",3600*24);
//存储
define("CDN_PATH","/data0/dk/cdn/host");
define("CDN_HOST","http://web-happy.foundao.com/host");

//db master default
define("DB_MASTER_DB_NAME","host");
define("DB_MASTER_HOST","172.31.0.20");
define("DB_MASTER_PORT","3306");
define("DB_MASTER_USER","root");
define("DB_MASTER_PASSWORD","foundao@2016.com");
define("DB_MASTER_DB_PREFIX",'host_');

//redis配置
define("REDIS_HOST","127.0.0.1");
define("REDIS_PORT","5300");
define("REDIS_PASSWD","");
define("REDIS_TIMEOUT",2);
define("REDIS_PREFIX","HOST_");

//二维码链接
define("dub","pages/rank/rank");
define("web","pages/commend/commend");


define("QRCODE_API","http://api-live.foundao.com/yyh/api/poster_qrcode.php");
